package SubServer;

import java.io.Serializable;

import General.ClientEventInterface;
import General.Product;
import General.ShipmentInterface;

public class Shipment implements ShipmentInterface, Serializable {
	
	private static final long serialVersionUID = 1L;
	private Product fProduct;
	private Quote fQuote;
	private ClientEventInterface fClientEvent;
	private int fState;
	private int fShipmentNr;
	
	public Shipment(Product product, Quote qouteImpl, ClientEventInterface clientEvent, int state, int shipmentNr) {
		fProduct = product;
		fQuote = qouteImpl;
		fClientEvent = clientEvent;
		fState = state;
		fShipmentNr = shipmentNr;
	}

	public Product getProduct() {
		return fProduct;
	}
	
	public Quote getQuote() {
		return fQuote;
	}

	public int getClientId() {
		return fClientEvent.getClientId();
	}
	
	public int getState() {
		return fState;
	}
	
	public void setState(int state) {
		fState = state;
	}
	
	public ClientEventInterface getClientEvent() {
		return fClientEvent;
	}

	public int getfShipmentNr() {
		return fShipmentNr;
	}

	public void setfShipmentNr(int fShipmentNr) {
		this.fShipmentNr = fShipmentNr;
	}

}
